Sound Dynamic Deadlock Prediction in Linear Time

نویسندگان

چکیده

Deadlocks are one of the most notorious concurrency bugs, and significant research has focused on detecting them efficiently. Dynamic predictive analyses work by observing concurrent executions, reason about alternative interleavings that can witness bugs. Such techniques offer scalability sound bug reports, have emerged as an effective approach for detection, such data races. Effective dynamic deadlock prediction, however, proven a challenging task, no predictor currently meets requirements soundness, high-precision, efficiency. In this paper, we first formally establish tradeoff is unavoidable, showing (a) complete prediction intractable, in general, (b) even seemingly simpler task determining presence potential deadlocks, which often serve unsound witnesses actual predictable intractable. The main contribution new class called sync(hronization)-preserving deadlocks. Informally, these deadlocks be predicted reordering observed execution while preserving relative order conflicting critical sections. We present two algorithms based notion. Our algorithm SPDOffline detects all sync-preserving with running time linear per abstract pattern, novel notion also introduced work. second SPDOnline predicts involve threads strictly online fashion, runs overall time, better suited runtime monitoring setting. implemented both our evaluated their ability to perform offline deadlock-prediction large dataset standard benchmarks. results indicate highly effective, (i) it characterize vast majority (ii) detected using online, sound, efficient algorithm.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

First order linear fuzzy dynamic equations on time scales

In this paper, we study the concept of generalized differentiability for fuzzy-valued functions on time scales. Usingthe derivative of the product of two functions, we provide solutions to first order linear fuzzy dynamic equations. Wepresent some examples to illustrate our results.

متن کامل

Sound texture modelling with linear prediction in both time and frequency domains

Sound textures—for instance, a crackling fire, running water, or applause—constitute a large and largely neglected class of audio signals. Whereas tonal sounds have been effectively and flexibly modelled with sinusoids, aperiodic energy is usually modelled as white noise filtered to match the approximate spectrum of the original over 10-30 ms windows, which fails to provide a perceptually satis...

متن کامل

Deadlock Detection in Linear Recursive Programs

Deadlock detection in recursive programs that admit dy-namic resource creation is extremely complex and solutions either giveimprecise answers or do not scale.We define an algorithm for detecting deadlocks of linear recursive pro-grams of a basic model. The theory that underpins the algorithm is ageneralization of the theory of permutations of names to so-called muta-tio...

متن کامل

Dynamic Linear Time Temporal Logic

A simple extension of the propositional temporal logic of linear time is proposed. The extension consists of strengthening the until operator by indexing it with the regular programs of propositional dynamic logic (PDL). It is shown that DLTL, the resulting logic, is expressively equivalent to S1S, the monadic second-order theory of ω-sequences. In fact a sublogic of DLTL which corresponds to p...

متن کامل

Impulse-based dynamic simulation in linear time

This paper describes an impulse-based dynamic simulation method for articulated bodies which has a linear time complexity. Existing linear-time methods are either based on a reduced-coordinate formulation or on Lagrange multipliers. The impulse-based simulation has advantages over these well-known methods. Unlike reduced-coordinate methods, it handles nonholonomic constraints like velocity-depe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2023

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3591291